package com.kemai.designmode.composite

/**

 *@description:TODO
 * @author: zhaoshanshan
 * @date: 2022/10/3 8:44 下午

 */
class AdministrativeArea(name:String):AbstractArea(name) {
    private var children: MutableList<AbstractArea> = ArrayList<AbstractArea>()
    override fun getChildren(): List<AbstractArea>{
        return children
    }
    fun addChildren(area:AbstractArea){
        children.add(area)
    }
}